Fw: [Asterisk-Users] sip provider
administrator tootai
admin at tootai.net
Tue Mar 29 04:28:24 MST 2005
Thore a écrit :
> Hi !
>
> This work well for incoming calls, but not for outgoing call.
> Those i call get the wrong number in the display.
Thanks to reply to list, not private
>
> Thore
>
>> ----- Original Message ----- From: "administrator tootai"
>> <admin at tootai.net>
>> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>> <asterisk-users at lists.digium.com>
>> Sent: Sunday, March 27, 2005 6:19 PM
>> Subject: Re: [Asterisk-Users] sip provider
>>
>>
>>> Thore a écrit :
>>>
>>>> Hi
>>>>
>>>> I have a voip provider use sip. To telephones with exten. 201 and 202.
>>>>
>>>> My voip provider give me this numbers 33297540 and 33297545.
>>>>
>>>> Is it possible to get exten 201 to ring out on 33297540 and 202 ->
>>>> 33297545 ?
>>>>
>>>>
>>>> [...]
>>>>
>>>>
>>>> ; Voip
>>>> [33297540]
>>>> type=friend
>>>> host=voip.dk
>>>> dtmfmode=rfc2833
>>>> canreinvite=no
>>>> username=33297540
>>>> secret=nisse
>>>> context=voip_incoming
>>>>
>>> context=voip_incoming-phone1
>>>
>>>> nat=yes
>>>> fromuser=33297540
>>>> fromdomain=voip.dk
>>>> insecure=very
>>>>
>>>>
>>>> [33297545]
>>>> type=friend
>>>> host=voip.dk
>>>> dtmfmode=rfc2833
>>>> canreinvite=no
>>>> username=33297545
>>>> secret=nisse
>>>> context=voip_incoming
>>>>
>>> context=voip_incoming-phone2
>>>
>>>> nat=yes
>>>> fromuser=33297545
>>>> fromdomain=voip.dk
>>>> insecure=very
>>>>
>>> [...]
>>>
>>>> [voip_incoming]
>>>> exten => 33297540,1,Dial(Sip/201,120)
>>>> exten => 33297540,2,Congestion
>>>>
>>>> exten => 33297545,1,Dial(Sip/202,120)
>>>> exten => 33297545,2,Congestion
>>>>
>>>>
>>> [voip_incoming-phone1]
>>> exten => 33297540,1,Dial(Sip/201,120)
>>> exten => 33297540,2,Congestion
>>>
>>>
>>> [voip_incoming-phone2]
>>> exten => 33297545,1,Dial(Sip/202,120)
>>> exten => 33297545,2,Congestion
>>
[callfrom201]
exten => s,1,SetCallerID(201)
exten => s,2,Dial(SIP/33297540 at voip-provider,,)
[callfrom202]
exten => s,1,SetCallerID(202)
exten => s,2,Dial(SIP/33297545 at voip-provider,,)
--
Daniel
More information about the asterisk-users
mailing list