Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
DialPlan Name Replacement
Author Message
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Fri Jan 16, 2009 4:36 pm    Post subject: DialPlan Name Replacement Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Mon Jan 19, 2009 12:48 pm    Post subject: Reply with quote

Do you want to replace the From header (as caller-ID) to "xxx "?
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Mon Jan 19, 2009 1:17 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Jan 19, 2009 1:51 pm    Post subject: Reply with quote


Matching Patterns
$request = ^INVITE
$geturi(From) = (sip:1111@.+)
Deploy Patterns
From = "xxx" <%1>
$replaceuri = true
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Mon Jan 19, 2009 1:57 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Tue Jan 20, 2009 11:56 am    Post subject: Reply with quote

Did you try the DialPlan above which 'hope' suggested?


>> However xxx and yyy always change and could be anything numbers.

For this, Alias feature may meet your requirement..
http://www.brekeke-sip.com/wiki/index.php?telepark.wiki=df05855a
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Tue Jan 20, 2009 1:55 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Tue Jan 20, 2009 2:10 pm    Post subject: Reply with quote

Try the latest version.. it is the version 2.2.
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Tue Jan 20, 2009 2:14 pm    Post subject: Reply with quote

I will upgrade at night and test tomorrow
_________________
www.seetarcco.com
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Wed Jan 21, 2009 1:40 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Thu Jan 22, 2009 1:43 pm    Post subject: Reply with quote

Try this.

Matching Patterns
$request = ^INVITE
$geturi(From) = @(.+)
Deploy Patterns
From = sip:xxx@%1
$replaceuri = true
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Thu Jan 22, 2009 1:53 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Thu Jan 22, 2009 2:44 pm    Post subject: Reply with quote

I think you need to read the DialPlan tutorial guide.
You may find many sample DialPlan rules there.
Back to top
View user's profile
seetarc
Brekeke Addict


Joined: 29 Nov 2008
Posts: 25
Location: Canada

PostPosted: Sat Jan 24, 2009 7:14 pm    Post subject: Reply with quote

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
View user's profile Send e-mail Visit poster's website MSN Messenger
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 501

PostPosted: Wed Jan 28, 2009 11:10 am    Post subject: Reply with quote

>> 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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1