Moderator: Brekeke Support Team
apus29
Posts: 13 Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:
Post
by apus29 » Sun Mar 02, 2008 9:02 pm
Is there any option to change the from id and password from dial plan?
opu
opu
james
Posts: 501 Joined: Mon Dec 10, 2007 12:56 pm
Post
by james » Mon Mar 03, 2008 1:27 pm
which password is it???
apus29
Posts: 13 Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:
Post
by apus29 » Tue Mar 04, 2008 3:16 am
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....
opu
Haddas
Posts: 170 Joined: Thu Jan 17, 2008 11:55 am
Post
by Haddas » Tue Mar 04, 2008 11:08 am
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
Posts: 13 Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:
Post
by apus29 » Tue Mar 04, 2008 8:58 pm
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....
opu
Haddas
Posts: 170 Joined: Thu Jan 17, 2008 11:55 am
Post
by Haddas » Wed Mar 05, 2008 11:33 am
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