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@tootai.net>
>> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
>> <asterisk-users@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@voip-provider,,)
[callfrom202]
exten => s,1,SetCallerID(202)
exten => s,2,Dial(SIP/33297545@voip-provider,,)
--
Daniel