Cant Receive Calls on Yealink Phone

My Yealink T48G phones register and “enable” on their internal config page. However, when I do a
pjsip show endpoints on the Asterisk CLI, no “contact” information shows up, and the phone do show show as being available. It seems like the either the phone is not providing “contact” information when it registers, or Asterisk is not getting it for some other reason.

I am trying to call PHONE1 from PHONE2 or vice versa. PHONE12 is not relevant to the present listing…I think.

estmay23CLI> dialplan reload
Dialplan reloaded.
– Time to scan old dialplan and merge leftovers back into the new: 0.000036 sec
– Time to restore hints and swap in new dialplan: 0.000016 sec
– Time to delete the old dialplan: 0.000018 sec
– Total time merge_contexts_delete: 0.000070 sec
– pbx_config successfully loaded 2 contexts (enable debug for details).
== Setting global variable ‘SIPDOMAIN’ to ‘aidarcontract.com
– Executing [1001@sets:1] Dial(“PJSIP/PHONE2-0000000f”, “PJSIP/PHONE1”) in new stack
[Dec 18 12:39:02] ERROR[23639]: res_pjsip.c:3533 ast_sip_create_dialog_uac: Endpoint ‘PHONE1’: Could not create dialog to invalid URI ‘PHONE1’. Is endpoint registered and reachable?
[Dec 18 12:39:02] ERROR[23639]: chan_pjsip.c:2649 request: Failed to create outgoing session to endpoint ‘PHONE1’
[Dec 18 12:39:02] WARNING[23644][C-00000010]: app_dial.c:2578 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
– Auto fallthrough, channel ‘PJSIP/PHONE2-0000000f’ status is ‘CHANUNAVAIL’
== Setting global variable ‘SIPDOMAIN’ to ‘aidarcontract.com
– Executing [1001@sets:1] Dial(“PJSIP/PHONE2-00000010”, “PJSIP/PHONE1”) in new stack
[Dec 18 12:39:10] ERROR[23639]: res_pjsip.c:3533 ast_sip_create_dialog_uac: Endpoint ‘PHONE1’: Could not create dialog to invalid URI ‘PHONE1’. Is endpoint registered and reachable?
[Dec 18 12:39:10] ERROR[23639]: chan_pjsip.c:2649 request: Failed to create outgoing session to endpoint ‘PHONE1’
[Dec 18 12:39:10] WARNING[23646][C-00000011]: app_dial.c:2578 dial_exec_full: Unable to create channel of type ‘PJSIP’ (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
– Auto fallthrough, channel ‘PJSIP/PHONE2-00000010’ status is ‘CHANUNAVAIL’
== Setting global variable ‘SIPDOMAIN’ to ‘aidarcontract.com
– Executing [200@sets:1] Answer(“PJSIP/PHONE2-00000011”, “”) in new stack
– Executing [200@sets:2] Playback(“PJSIP/PHONE2-00000011”, “hello-world”) in new stack
– <PJSIP/PHONE2-00000011> Playing ‘hello-world.slin’ (language ‘en’)
– Executing [200@sets:3] Hangup(“PJSIP/PHONE2-00000011”, “”) in new stack
== Spawn extension (sets, 200, 3) exited non-zero on ‘PJSIP/PHONE2-00000011’
== Contact PHONE12/sip:PHONE12@50.35.111.195:53681;ob has been deleted
== Endpoint PHONE12 is now Unreachable
– Added contact ‘sip:PHONE12@50.35.111.195:53681;ob’ to AOR ‘PHONE12’ with expiration of 300 seconds
== Endpoint PHONE12 is now Reachable
testmay23
CLI>

testmay23*CLI> pjsip list endpoints

Endpoint: <Endpoint/CID…> <State…> <Channels.>

Endpoint: 0000f30A0A01 Unavailable 0 of inf
Endpoint: 0000f30B0B02 Unavailable 0 of inf
Endpoint: PHONE1 Unavailable 0 of inf
Endpoint: PHONE10 Unavailable 0 of inf
Endpoint: PHONE11 Unavailable 0 of inf
Endpoint: PHONE12 Not in use 0 of inf
Endpoint: PHONE13 Unavailable 0 of inf
Endpoint: PHONE14 Unavailable 0 of inf
Endpoint: PHONE15 Unavailable 0 of inf
Endpoint: PHONE16 Unavailable 0 of inf
Endpoint: PHONE17 Unavailable 0 of inf
Endpoint: PHONE18 Unavailable 0 of inf
Endpoint: PHONE19 Unavailable 0 of inf
Endpoint: PHONE2 Not in use 0 of inf
Endpoint: PHONE20 Unavailable 0 of inf
Endpoint: PHONE21 Unavailable 0 of inf
Endpoint: PHONE22 Unavailable 0 of inf
Endpoint: PHONE3 Unavailable 0 of inf
Endpoint: PHONE4 Unavailable 0 of inf
Endpoint: PHONE5 Unavailable 0 of inf
Endpoint: PHONE6 Unavailable 0 of inf
Endpoint: PHONE7 Unavailable 0 of inf
Endpoint: PHONE8 Unavailable 0 of inf
Endpoint: PHONE9 Unavailable 0 of inf
Endpoint: SOFTPHONE_A Unavailable 0 of inf
Endpoint: SOFTPHONE_B Unavailable 0 of inf
Endpoint: WS_PHONE_A Unavailable 0 of inf
Endpoint: WS_PHONE_B Unavailable 0 of inf

Objects found: 28

[root@testmay23 asterisk]# cat extensions.conf
[general]
[globals]

[sets]

exten => 200,1,Answer()
same => n,Playback(hello-world)
same => n,Hangup()

exten => 1001,1,Dial(PJSIP/PHONE1)

exten => 1002,1,Dial(PJSIP/PHONE2)

[root@testmay23 asterisk]#

I forgot to add the contact information as shown in the configuration database…

the server is running on server addressable as aidarcontract.com

mysql> select id,contact from ps_aors;
±-------------±-------------------------+
| id | contact |
±-------------±-------------------------+
| 0000f30A0A01 | NULL |
| 0000f30B0B02 | NULL |
| PHONE10 | NULL |
| PHONE11 | NULL |
| PHONE12 | NULL |
| PHONE13 | NULL |
| PHONE14 | NULL |
| PHONE15 | NULL |
| PHONE16 | NULL |
| PHONE17 | NULL |
| PHONE18 | NULL |
| PHONE19 | NULL |
| PHONE20 | NULL |
| PHONE21 | NULL |
| PHONE22 | NULL |
| PHONE3 | NULL |
| PHONE4 | NULL |
| PHONE5 | NULL |
| PHONE6 | NULL |
| PHONE7 | NULL |
| PHONE8 | NULL |
| PHONE9 | NULL |
| SOFTPHONE_A | NULL |
| SOFTPHONE_B | NULL |
| WS_PHONE_A | NULL |
| WS_PHONE_B | NULL |
| PHONE1 | PHONE1@aidarcontract.com |
| PHONE2 | PHONE2@aidarcontract.com |
±-------------±-------------------------+
28 rows in set (0.00 sec)

This was brought up recently and seems to stem from the MySQL connector.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.