change id and password

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
apus29
Posts: 13
Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:

change id and password

Post by apus29 »

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 »

which password is it???
apus29
Posts: 13
Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:

Post by 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....
opu
Haddas
Posts: 170
Joined: Thu Jan 17, 2008 11:55 am

Post by 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
Posts: 13
Joined: Mon Dec 03, 2007 5:20 am
Location: Dhaka, Bangladesh
Contact:

Post by 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....
opu
Haddas
Posts: 170
Joined: Thu Jan 17, 2008 11:55 am

Post by 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
Post Reply