Author |
Message |
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Fri Jan 16, 2009 4:36 pm Post subject: DialPlan Name Replacement |
|
|
1. Brekeke Product Name and version: 2.1.6.6
2. Java version: 1.6.0.100
3. OS type and the version: Win2003 Server Standard
4. UA (phone), gateway or other hardware/software involved: RadiusCat and IVRCat
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
6. Your problem: I do Calling card call Thru and Call back. My call thru extension number on BSS 1111 and Call Back 2222
When userphone xxx want to call phone number yyy this is what happens;
xxx ==> 1111, then
1111 ==> yyy
then yyy see CallerID 1111 calling. How can i change the url to show xxx calling rather than 1111 ?
For CallBack, Same Senerio
xxx Calls 2222, then get busy tone
2222 calls xxx then
2222 calls yyy then yyy see CallerID 1111 calling. How can i change the url to show xxx calling rather than 2222 ? _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Mon Jan 19, 2009 12:48 pm Post subject: |
|
|
Do you want to replace the From header (as caller-ID) to "xxx "? |
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Mon Jan 19, 2009 1:17 pm Post subject: |
|
|
Yes i want to replace the From header "1111" or "2222" to show "xxx" when "yyy" recieved the call. _________________ www.seetarcco.com |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Jan 19, 2009 1:51 pm Post subject: |
|
|
Matching Patterns | $request = ^INVITE $geturi(From) = (sip:1111@.+)
| Deploy Patterns | From = "xxx" <%1> $replaceuri = true
|
|
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Mon Jan 19, 2009 1:57 pm Post subject: |
|
|
I will have to test it tonight. However xxx and yyy always change and could be anything numbers. It is only 1111 and 2222 that always remains the same. _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Tue Jan 20, 2009 1:55 pm Post subject: |
|
|
I tested now and it did not work.
I tried to used the url you sent me. But i could not see any [New Alias} page under [Dial Plan]
Please go to the [Dial Plan] -> [New Alias} page. _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Tue Jan 20, 2009 2:10 pm Post subject: |
|
|
Try the latest version.. it is the version 2.2. |
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Tue Jan 20, 2009 2:14 pm Post subject: |
|
|
I will upgrade at night and test tomorrow _________________ www.seetarcco.com |
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Wed Jan 21, 2009 1:40 pm Post subject: |
|
|
I upgraded overnight and unfortunatly i could not see any [New Alias} page under [Dial Plan] I am using Standard commercial, i guess its only the Pro version that have that feature.
Back to Square one.
Let me re-define my issue again;
Caller = xxx
Callee = yyy
IVR = IVRCAT
LEG1 of the Call, xxx ==> 1111 (IVRCAT),
LEG2 of the Call, 1111 (IVRCAT) ==> yyy
Callee(yyy) sees Caller as "1111" (IVRCAT)
How can i change the caller-ID so that the Callee will see xxx as the caller ? _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Thu Jan 22, 2009 1:43 pm Post subject: |
|
|
Try this.
Matching Patterns | $request = ^INVITE $geturi(From) = @(.+)
| Deploy Patterns | From = sip:xxx@%1 $replaceuri = true
|
|
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Thu Jan 22, 2009 1:53 pm Post subject: |
|
|
Thanks James,
xxx always change. It could be any phone number
If i use "From = sip:xxx@%1 " it will only show what i define as "xxx" (Am i wrong ?) _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Thu Jan 22, 2009 2:44 pm Post subject: |
|
|
I think you need to read the DialPlan tutorial guide.
You may find many sample DialPlan rules there. |
|
Back to top |
|
seetarc Brekeke Addict
Joined: 29 Nov 2008 Posts: 25
Location: Canada
|
Posted: Sat Jan 24, 2009 7:14 pm Post subject: |
|
|
I have read the DialPlan tutorial guide over and over again and i dont know how to create the replacement dial plan for two different call legs "url-replacement". That is why i came to the forum for help. _________________ www.seetarcco.com |
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 501
|
Posted: Wed Jan 28, 2009 11:10 am Post subject: |
|
|
>> Yes i want to replace the From header "1111" or "2222" to show "xxx" when "yyy" recieved the call.
Try this.
Matching Patterns | $request = ^INVITE From = sip:1111@|sip:2222@ To = sip:yyyy@ $geturi(From) = @(.+)
| Deploy Patterns | From = sip:xxx@%1 $replaceuri = true
|
|
|
Back to top |
|
|