[Asterisk-Users] Nextone <-> Asterisk <-> DID provider
Nitesh Divecha
nitesh at vipernetworks.com
Fri Nov 11 23:15:31 MST 2005
OK,
1) When external user dials the DID number, it hits the DID providers
switch.
2) DID provider forwards the external user to Asterisk.
3) Asterisk sends the call to Nextone using "exten => _999NXXNXXXXXX,
1,Dial(SIP/${EXTEN}@mynextonebox.com)" statement which is in
"extension.conf". Call is send to nextone with 999 prefix for billing
purpose.
Now I want to send a Call from Nextone to Asterisk and then Asterisk
forwards that call to DID provider.
1) Nextone sends a call with Prefix 9998887+Number to Asterisk.
2) Asterisk will strip the prefix 9998887 and sends the call to DID
provider for termination.
When I do "sip debug" on my CLI, I see Nextone sends the call with
prefix but Asterisk fails to receive.
In which context do I specify for outbound calls? For example "exten
=> _9998887NXXNXXXXXX,1,Dial(SIP/${EXTEN:7}@tomydidprovider.com:5060)"
Hope this helps....
Thanks,
Neal
On Nov 11, 2005, at 9:55 PM, Angelito Manansala wrote:
> can you send the call flow
>
> On 11/12/05, Nitesh Divecha <nitesh at vipernetworks.com> wrote:
>> Thanks for your reply,
>>
>> I can send the call from my DID provider to my nextone via
>> Asterisk... Thats OK.
>>
>> But I am failing to send the call from Nextone to my DID provider via
>> Asterisk... Fail.
>>
>> exten => _999NXXNXXXXXX,1,Dial(SIP/${EXTEN}@mynextonebox.com)
>> The above exten works fine... it sends the call to nextone from DID
>> provider.
>>
>> I need exten parameter for sending call back to DID provider from
>> Nextone...
>>
>> Thanks,
>> Neal
>>
>>
>>
>>
>>
>> On Nov 11, 2005, at 8:21 PM, Angelito Manansala wrote:
>>
>>> i dont know if this will work but also try:
>>>
>>> exten => _999NXXNXXXXXX,1,Dial(SIP/
>>> username:password at mynextonebox.com/${EXTEN})
>>> //
>>>
>>>
>>> On 11/12/05, Nitesh Divecha <nitesh at vipernetworks.com> wrote:
>>>> Hello All,
>>>>
>>>> I have created a bridge between my nextone softswitch and my DID
>>>> provider using Asterisk 1.0.9.
>>>>
>>>> Asterisk is registered on both side and I can receive incoming from
>>>> my DID provider and pass it on to Nextone and terminate the call.
>>>>
>>>> Now I want to send the call to my DID provider from nextone via
>>>> Asterisk. I did all the routings on the nextone box and I do see
>>>> the
>>>> call coming to Asterisk box when I do "sip debug", but the calls
>>>> fails with fast busy tone.
>>>>
>>>> sip.conf
>>>> register => user:pass:user at mydidprovider.com "DID provider"
>>>> register => user:pass at mynextonebox.com "Nextone box"
>>>>
>>>> extension.conf
>>>> [default]
>>>> exten => _999NXXNXXXXXX,1,Dial(SIP/${EXTEN}@mynextonebox.com:
>>>> 5060) //
>>>> When I receive the call from my DID provider I will send it to my
>>>> nextone box.
>>>>
>>>> Now how can I send back to my DID provider?
>>>>
>>>> Thanks,
>>>> Neal
>>>>
>>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation sponsored by Easynews.com --
>>>>
>>>> Asterisk-Users mailing list
>>>> Asterisk-Users at lists.digium.com
>>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>> To UNSUBSCRIBE or update options visit:
>>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Angelito Manansala
>>> www.voicefidelity.net
>>> Mobile: +639175425807
>>> DID: (+63) 44 7906770
>>> msn: bulcrack at elitemail.org
>>> skype: bulcrack
>>> _______________________________________________
>>> --Bandwidth and Colocation sponsored by Easynews.com --
>>>
>>> Asterisk-Users mailing list
>>> Asterisk-Users at lists.digium.com
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>
>> Nitesh Divecha
>> VoIP/Network Engineer
>> Viper Networks
>> 2070 Business Center Drive, Suite 210
>> Irvine, California 92612
>>
>> Tel: 1-949-851-8737
>> Fax: 1-949-851-8011
>> Cell: 1-909-964-5181
>> vPhone: 544-416-0067
>>
>> Email: nitesh at vipernetworks.com
>> Web: www.vipernetworks.com
>>
>> "Your Internet Phone Company"
>> A publicly traded Company, OTC: VPER
>>
>> _______________________________________________
>> --Bandwidth and Colocation sponsored by Easynews.com --
>>
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> Best Regards,
> Angelito Manansala
> www.voicefidelity.net
> Mobile: +639175425807
> DID: (+63) 44 7906770
> msn: bulcrack at elitemail.org
> skype: bulcrack
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
Nitesh Divecha
VoIP/Network Engineer
Viper Networks
2070 Business Center Drive, Suite 210
Irvine, California 92612
Tel: 1-949-851-8737
Fax: 1-949-851-8011
Cell: 1-909-964-5181
vPhone: 544-416-0067
Email: nitesh at vipernetworks.com
Web: www.vipernetworks.com
"Your Internet Phone Company"
A publicly traded Company, OTC: VPER
More information about the asterisk-users
mailing list