Does anyone know how to forward a DID number on Asterisk system to a SIP Address or IP address?
Thanks
Steve15
Steve@17q.com
Does anyone know how to forward a DID number on Asterisk system to a SIP Address or IP address?
Thanks
Steve15
Steve@17q.com
Hi
I am not sure what exactly you want but i am trying here to help you.
when you Buy any DID from ur DID providers you need to ask them to Authenticate ur Asterisk server ip address for for that DID number
so when any call come at that number it reach at ur Asterisk server as Asterisk server ip address Authenticate at infront of that DID number as destination domain (All thsi Authentication at DID providers end)
another thing may be if ur use any swtich like sip softswtich there is DB table wher u can mention DID & Asterisk ip so u can recive call for that number on Asterisk. thas complecated thisng than fisrt one
so Authenticate ur ip address for that DID at ur DId provider. I hope this will help you.
Amit
Hi
I am not sure what exactly you want but i am trying here to help you.
when you Buy any DID from ur DID providers you need to ask them to Authenticate ur Asterisk server ip address for for that DID number
so when any call come at that number it reach at ur Asterisk server as Asterisk server ip address Authenticate at infront of that DID number as destination domain (All thsi Authentication at DID providers end)
another thing may be if ur use any swtich like sip softswtich there is DB table wher u can mention DID & Asterisk ip so u can recive call for that number on Asterisk. thas complecated thisng than first one
Same time you need to mention that DID in Dial plan & resp. peer of ur service provider in sip.conf.
Another type to get this with suername password & ipa ddress which is complecated sue only with ip authentication
so Authenticate ur ip address for that DID at ur DId provider. I hope this will help you.
Amit
Hi:
I already have the DID comming from my local carrier and I want to port one or two of them to SIP addresses such as
Tom@yahoo.com
bob@17q.com
Steve
Ok first of all, I think you may be confused, but I’ll help in whatever way I can.
If you already have your Asterisk server setup to be able to accept calls for your DID that you mentioned, all you need to do is match against that did in your incoming context, and forward the call by using the DIAL command…
For example: Your DID = 1235551234 and you wanted to forward your call to 123@yahoo)
In your incoming context you could do:
exten => 1235551234,1,Dial(SIP/123@yahoo)
Now, please understand that the part before the @ is the “extension” to be dialed, and the part AFTER is the location to send it to, put your IP there if you want. Remember that there needs to be a working SIP gateway at the location specified or it won’t work. Also, if there’s a SIP gateway there but it’s not configured to accept that “extension”, you’ll get a 404 not found message.
Dear rushowr:
Thank you, that worked!
Steve
Dear rushowr:
Thank you, that worked!
Steve
Dear rushowr:
Thank you, that worked!
Steve