Hi, would look something like this on a normal .conf file (but it is in the database now), and it is working on asterisk 1.4 version
but I get these error, somehow it is not parsing the “|” on the appdata string and still looks for a peer name like 999100001|60|TtrkK which asterisk will not be able to find since the peer name is 999100001 only
is this a bug?
– Executing Dial(“SIP/999100005-0821ab00”,
“SIP/999100001|60|TtrkK”)
[Oct 14 03:50:32] DEBUG[16728]: chan_sip.c:19558 sip_request_call: Asked to create a SIP channel with formats: 0x4 (ulaw)
== Using SIP RTP CoS mark 5
[Oct 14 03:50:32] DEBUG[16728]: chan_sip.c:5935 sip_alloc: Allocating new SIP dialog for (No Call-ID) - INVITE (With RTP)
[Oct 14 03:50:32] DEBUG[16728]: res_config_mysql.c:868 mysql_reconnect: MySQL RealTime: Connection okay.
[Oct 14 03:50:32] DEBUG[16728]: res_config_mysql.c:151 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_peers WHERE name = ‘999100001|60|TtrkK’ AND host = ‘dynamic’
[Oct 14 03:50:32] DEBUG[16728]: res_config_mysql.c:868 mysql_reconnect: MySQL RealTime: Connection okay.
[Oct 14 03:50:32] DEBUG[16728]: res_config_mysql.c:151 realtime_mysql: MySQL RealTime: Retrieve SQL: SELECT * FROM sip_peers WHERE name = ‘999100001|60|TtrkK’
[Oct 14 03:50:32] WARNING[16728]: chan_sip.c:4181 create_addr: No such host: 999100001|60|TtrkK
[Oct 14 03:50:32] DEBUG[16728]: chan_sip.c:19635 sip_request_call: Cant create SIP call - target device not registred