[asterisk-dev] chan_sip SIP Authentication
Johansson Olle E
oej at edvina.net
Thu Jan 29 02:59:16 CST 2009
29 jan 2009 kl. 09.42 skrev Klaus Darilion:
>
>
> Johansson Olle E schrieb:
>> 29 jan 2009 kl. 08.52 skrev Klaus Darilion:
>>
>>>>>> How on earth do you get the requested number without checking To:
>>>>>> or
>>>>>> RPID?
>>>>> Using To: you assume that the To header contains the originally
>>>>> called
>>>>> number. But that depends on the setup of the trunking provider.
>>>>> (what if
>>>>> the trunking provider uses Asterisk?)
>>>> Yes, one has to check with SIP debug first. Always. And if the
>>>> trunking
>>>> provider use Asterisk I've given him a dialstring option to set the
>>>> to:
>>>> header properly - which you of course have seen, since you've read
>>>> the docs, right? ;-)
>>> Which document describes the dialstring of the SIP channel?
>>
>>
>> It's the very first section of sip.conf.samples - a must read for
>> you!
>>
>> If you missed the first section, then it's about time to read it
>> all :-)
>
> Ah, I see. But it is not in 1.4 sip.conf. So, either it is not
> documented in 1.4 or the feature is not available in 1.4.
>
It's not in 1.4, but the code for 1.4 is in my branch called fix-to-
header or something similar.
/O
More information about the asterisk-dev
mailing list