On Thu, Feb 15, 2018, at 7:46 PM, [email protected] 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.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to