Forums Read-only archive

change id and password

6 posts · Brekeke SIP Server Forum

apus29 Original post
Is there any option to change the from id and password from dial plan?

opu
james
which password is it???
apus29
suppose..........
user id: 101 and password: 101

it will be registered as ........

user id: 102 and password: 102

that is i want to change that....
Haddas
Do you know where the password is included in a SIP packet?
I think DialPlan can not change a password because the password is not included in a packet.. (it is MD5 data..)

why do you want to change a password?
apus29
Thanks Haddas...

ok i dont want to change my password. but is it possible to change the user id?

i want to put the user id 101 but it will be registered as 102....
Haddas
How about this dialplan?


Matching Pattern:
$request = ^REGISTER
From = <sip:101@(.+)>
To = <sip:101@(.+)>

Deploy Pattern:
From = <sip:102@%1>
To = <sip:102@%2>
$continue = true