bar top left
bar top right
left curve
right curve
Welcome, Guest

Routing call from Zap trunk to SIP trunk
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Routing call from Zap trunk to SIP trunk
#56637
Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 1
I have set up an internal office to office SIP trunk and have tested it with success. However, I need to route outside Zap/Dahdi calls over the internal SIP trunk but it fails. I suspect the the call is denied based on context but don't know where to take it from here.

Also, how do I add extensions to Elastix for phones that are on the other end of a SIP trunk? The incoming routing configuration requires an actual number from the drop down list. I got around this by creating a ring group, which allows free form phone numbers.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
vtofa
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56646
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 96
Create a misc destination, and enter the desired number, then it will show up on inbound routes
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
jgutierrez
Moderator
Posts: 3228
graphgraph
User Offline Click here to see the profile of this user
Gender: Male jgutierr_007@hotmail.com Location: Santiago de Guayaquil - Ecuador Birthday: 08/07
Do you want a fast response service?
Do you want more help?
Try our Official Elastix Paid Support Service (English/Español) at:
store.palosanto.com

Soporte Elastix Palosanto Solutions
Santiago de Guayaquil
Reply Quote
 
#56653
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 155
I will add that you might not need to add the extensions of the other box , just route those extensions by "matching" them to an outbound route that uses the SIP trunk and further map the inbound route by callerID as jgutierrez suggested to the rerouted far end extensions.

For inbound calls from the far end, that "tie-line trunk" probably needs to be in the from-internal context (on both ends) if you want to do extension to extension calling, access to far end voice mail, conferences et al. and similarly do an outbound pattern match on the far end.

There is a good description in the blogs as to how to that with iax2 trunking (which is probably more efficient bandwidth wise) but the same concepts pertain.

If the above doesn't apply to your needs you can make custom-extension 's that "dial"

SIP/<intertrunkname>/<extensionattheotherend>


regards

dicko
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/07/31 20:47 By dicko.
There are other solutions!!
Reply Quote
 
#56719
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 1
I have added the number to Misc Destination but it did not appear in the extensions list dropdown in the inbound routes configuration.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
vtofa
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56721
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 155
It wouldn't be there in extensions because it isn't an extension but a "Misc Destination", so was it in the "Misc Destination" drop down menu?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/08/01 22:48 By dicko.
There are other solutions!!
Reply Quote
 
#56724
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 1
Sorry, my bad. Yes, and I selected the Misc Destination in the inbound route configuration but when I try to call from the outide (Zap) I get the Asterisk error: "I am sorry, that is not a valid extension. Please try again." This works from the inside but I am not on site to see if there is some other problem. BTW, the SIP trunk goes to an AastraLink Pro 160 so AIX is not an option and configuring asterisk on that end is of course not an option either.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
vtofa
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#56725
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 155
So what was exactly was your misc destination dial command, it would be pertinent information. As would the context of the SIP trunk you constructed, further did that message come from the local box or the far end box? (use the asterisk CLI).

I am personally not familiar with the AastraLink Pro 160 , so to you it might be an "of course" but I gotta tell you that even asterisk don't talk AIX too good .

[edit]

After a quick google, Aastralinks do however seem to prefer "IAX trunking" when communicating with their brothers, so are you sure about that "of course" thingy, maybe you can persuade it to think of your box as a step-brother?

dicko

p.s. and just to be pedantic, as a protocol IAX is NOT the same as IAX2, it uses a different port and is only a very limited subset of IAX2, IAX went the way of the dinosaurs "a long time ago". (Asterisk does still speak it though). Do you guys all actually mean IAX2?.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2010/08/01 23:49 By dicko.
There are other solutions!!
Reply Quote
 
#56767
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 1
Your reference to context hit me. I changed the context of the SIP trunk to from-internal and that solved my problem! Thanks!

By the way, the message was clearly the local box with the familiar Asterisk lady. The Aastralink Pro 160 has a different sounding voice.

Aastralink Pro 160, although based on Asterisk as far as I know, has its own management interface and I don't see any way of getting around it. I spoke with their tech support and they said that trunks to Asterisk require SIP and IAX is for trunks to other Aastralink Pro 160 units. (Ok, IAX2 i presume.)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
vtofa
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#57095
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 1
One more thing: The ring group on the Aastralink Pro 160 doesn't seem to work for calls coming over the SIP trunk. So I created a ring group in Asterisk with all the numbers in the Aastralink Pro 160 system but it fails. Ring groups using Miscellaneous Destination numbers doesn't seem to work.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
vtofa
Junior Boarder
Posts: 67
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#57098
Re:Routing call from Zap trunk to SIP trunk 1 Year, 6 Months ago Karma: 155
I commiserate, but surely these problems are better handles by Aastra. Perhaps you should repost in the aastra forum, I guess your box counts as an "endpoint", and our aastra insider aastra1 occasionally visits there.

dicko
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4101
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
There are other solutions!!
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: rafael, Bob, jgutierrez