[asterisk-bugs] [JIRA] (ASTERISK-24046) PJSIP: No matching endpoint found on incoming call?
Ilya Trikoz (JIRA)
noreply at issues.asterisk.org
Thu Jul 17 02:21:56 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220673#comment-220673 ]
Ilya Trikoz commented on ASTERISK-24046:
----------------------------------------
Guys, seems like its actialy bug.
after some research, I figured out that problem exist only when I using realtime identify
when I addeding string in
sorcery.conf
identify=realtime,ps_endpoint_id_ips
and in extconfig.conf
ps_endpoint_id_ips => odbc,asterisk,ps_endpoint_id_ips
I getting notice about "No matching endpoint"
seems like asterisk using that table but didn't find matches for some reason.
ps_endpoint_id_ips table structure:
CREATE TABLE `ps_endpoint_id_ips` (
`id` varchar(40) NOT NULL,
`endpoint` varchar(40) DEFAULT NULL,
`match` varchar(80) DEFAULT NULL,
UNIQUE KEY `id` (`id`),
KEY `ps_endpoint_id_ips_id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
data
10001 | 10001 | 192.168.1.1
it works well when I using static file.
> PJSIP: No matching endpoint found on incoming call?
> ---------------------------------------------------
>
> Key: ASTERISK-24046
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24046
> Project: Asterisk
> Issue Type: Information Request
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 12.3.2, 12.4.0
> Reporter: Ilya Trikoz
> Severity: Minor
>
> In my case I using realtime,
> here is how it looks in plant
> [10001]
> type=registration
> transport=upd_static
> outbound_auth=10001
> server_uri=sip:600 at 192.168.1.1:5060
> client_uri=sip:600 at 192.168.1.4:5060
> [10001]
> type=auth
> auth_type=userpass
> password=600
> username=600
> [10001]
> type=aor
> contact=sip:192.168.1.4:5060
> [10001]
> type=endpoint
> transport=upd_static
> context=dialmap
> disallow=all
> allow=ulaw
> outbound_auth=10001
> aors=10001
> [10001]
> type=identify
> endpoint=10001
> match=192.168.1.1
> when I call 600 from other pbx I getting an notice
> NOTICE[10202]: res_pjsip/pjsip_distributor.c:246 log_unidentified_request: Request from '"Ilya" <sip:502 at 192.168.1.1>' failed for '192.168.1.1:5060' (callid: ZTNhYjU4ZjU5ZmUxNjM5M2FlYjBlYTE3YzgwZTU4MGY.) - No matching endpoint found
> and "Not Accessable" on phone, something wrong with config or bug?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list