SOLVED: Follow me - International - One ring then VM

I want ext 650 to follow me to an international number. It appears to set right, except that when it transfers, the international number rings once, briefly, then my “Destination No Answer” kicks in or the call just disconnects.
I’ve tried
Initial Ring Time 0 & 30
Ring Strategy: Ringall
Ring time: 60
Confirm Calls: Yes and No

Trunk Peer Details: allow=g729&g711&g723
tried removing g729 per another thread, no help.
Trunk Provider is net2phone

Some questionable items from the log:

[2018-03-20 02:43:45] WARNING[14028][C-000013e7] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = ulaw/ulaw

[2018-03-20 02:43:45] VERBOSE[14029][C-000013e7] pbx.c: Executing [s@crm-hangup:2] NoOp(“Local/0118613710321361@from-internal-00001226;1”, “HANGUP CAUSE: 16”) in new stack
[2018-03-20 02:43:45] WARNING[14027][C-000013e7] channel.c: Unable to find a codec translation path: (g729) -> (ulaw)
[2018-03-20 02:43:45] WARNING[14028][C-000013e7] chan_sip.c: Asked to transmit frame type ulaw, while native formats is (g729) read/write = g729/ulaw
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] bridge_channel.c: Channel Local/0118613710321361@from-internal-00001226;2 left ‘simple_bridge’ basic-bridge <32f9cbc4-0de1-4339-8384-b439d555e484>
[2018-03-20 02:43:45] VERBOSE[14028][C-000013e7] bridge_channel.c: Channel SIP/Net2Phone-00004880 left ‘simple_bridge’ basic-bridge <32f9cbc4-0de1-4339-8384-b439d555e484>
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] app_macro.c: Spawn extension (macro-dialout-trunk, s, 30) exited non-zero on ‘Local/0118613710321362@from-internal-00001226;2’ in macro ‘dialout-trunk’
[2018-03-20 02:43:45] WARNING[14028][C-000013e7] channel.c: Unable to find a codec translation path: (g729) -> (ulaw)
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx.c: Spawn extension (from-internal, 0118613710321361, 6) exited non-zero on ‘Local/0118613710321362@from-internal-00001226;2’
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx.c: Executing [h@from-internal:1] Macro(“Local/0118613710321361@from-internal-00001226;2”, “hangupcall”) in new stack
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“Local/0118613710321361@from-internal-00001226;2”, “1?theend”) in new stack
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“Local/0118613710321361@from-internal-00001226;2”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-03-20 02:43:45] VERBOSE[14027][C-000013e7] pbx.c: Executing [s@macro-hangupcall:4] Hangup(“Local/0118613710321362@from-internal-00001226;2”, “”) in new stack

I am guessing that this is either a codec issue, e.g. net2phone is insisting on G.729 and Asterisk is not configured to transcode, or you are presenting caller ID in a format that they will not accept, or they will not allow you to send a caller ID that’s not yours.

AFAIK g711 is not a valid Asterisk codec name. Try setting the trunk with
disallow=all
allow=ulaw&alaw

If this still fails, capture SIP debug info by issuing
sip set debug on
at the Asterisk command line, then report what error response is given on the call attempt.

Can you call the China mobile directly from an extension? If so, try forcing the same caller ID in the follow-me config and retest.

Does follow-me to a domestic number work? If so, does the original caller’s number show correctly on the mobile (assuming that’s what you want)?

If G.729 is indeed required, does
core show translation
show that transcoding between ulaw (or whatever the incoming trunk is using) and g729 is possible?

1 Like

It worked!
Thank you!

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