Hello.

Asterisk 13.2.
I transfer configs from chan_sip to res_pjsip.
In chan_sip i have "match_auth_username=yes" and have nothing in pjsip.

I have a lot of endpoints and registrations on same SIP server. And it's problem in pjsip now. Is not it?

I requesting to add new value for endpoint option identify_by. The value 'uri'.
Simple config (cutted):

[siptrunk]
type=registration
transport=udp-transport
outbound_auth=siptrunk
server_uri=sip:sip.example.com
client_uri=sip:[email protected]
retry_interval=60
contact_user=siptrunk-in

[siptrunk-in]
type=endpoint
transport=udp-transport
context=from-trunk
disallow=all
allow=ulaw
outbound_auth=siptrunk
aors=siptrunk
identify_by=uri


Registration section has option "contact_user". Incoming call from this registration will be INVITE sip:siptrunk-in@.... I offer to change res_pjsip_endpoint_identifier_user to realize endpoint identification by sip uri.

I think it will be usefull.

P.S. i hope issues will be rejected: https://issues.asterisk.org/jira/browse/ASTERISK-22306 and SWP-6069


Dmitriy Serov
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to