[asterisk-users] incoming call label

thelma at sys-concept.com thelma at sys-concept.com
Thu Feb 15 22:30:51 CST 2018


On 02/15/2018 04:49 PM, Joshua Colp wrote:
> On Thu, Feb 15, 2018, at 7:46 PM, thelma at sys-concept.com wrote:
> 
> <snip>
> 
>>
>> Thanks again for the hint.
>> Here is the output from asterisk.
>>
>> The call is coming on Audocodes gateway from: pstn-4444
>>
>> But asterisk display:
>> Found peer 'pstn-9998' for '7804715665' from 10.10.0.8:5060
>>
>> Why not loolking up "pstn-4444" in sip.conf?
> 
> It found pstn-4444 using 10.10.0.8:5060 - if the request always comes from the same IP address and port it has no other way built in to differentiate between the two except by matching based on username in the 'From' header.

It didn't find "pstn-4444 using 10.10.0.8:5060"
The call came IN from PSTN line on audiocodes equipment to FXO port that
is labelled "pstn-4444"  so asterisk reported as such.
And I think asterisk suppose to lookup this label in sip.conf to the
registered entry but instead selected pstn-9998 entry; I don't know why.

If the call came IN on pstn-4444
and sip.conf has two entries:
[pstn-4444]
[pstn-9998]

Why it can not distinguish between the two of them correctly?

--
Thelma




More information about the asterisk-users mailing list