Project

General

Profile

not connecting.

Added by Ravaka RATOVONIRINA over 8 years ago

I have configured the carrier. It is showing registered. I not see calls being ringing and I am not getting anything .

Please help me.
1 SIP registrations.
[Oct 22 11:59:59] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=FRANCE))
[Oct 22 11:59:59] -- <Local/7467907303@default-0000005d;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 22 11:59:59] -- Executing [7467907303@default:2] Dial("Local/7467907303@default-0000005d;2", "SIP/33907303@SIPNEWS,,tTo") in new stack
[Oct 22 11:59:59] Using SIP RTP CoS mark 5
[Oct 22 11:59:59] -- Called SIP/33907303@SIPNEWS
[Oct 22 11:59:59] WARNING[26530]: channel.c:5902 ast_channel_make_compatible_helper: No path to translate from SIP/SIPNEWS-00000056 to Local/7467907303@default-0000005d;2
[Oct 22 11:59:59] Spawn extension (default, 7467907303, 2) exited non-zero on 'Local/7467907303@default-0000005d;2'
[Oct 22 11:59:59] -- Executing [h@default:1] AGI in new stack
[Oct 22 12:00:00] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:00] -- Executing [7467981792@default:1] AGI in new stack
[Oct 22 12:00:00] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=FRANCE))
[Oct 22 12:00:00] -- <Local/7467981792@default-0000005e;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 22 12:00:00] -- Executing [7467981792@default:2] Dial("Local/7467981792@default-0000005e;2", "SIP/33981792@SIPNEWS,,tTo") in new stack
[Oct 22 12:00:00] Using SIP RTP CoS mark 5
[Oct 22 12:00:00] -- Called SIP/33981792@SIPNEWS
[Oct 22 12:00:00] WARNING[26534]: channel.c:5902 ast_channel_make_compatible_helper: No path to translate from SIP/SIPNEWS-00000057 to Local/7467981792@default-0000005e;2
[Oct 22 12:00:00] Spawn extension (default, 7467981792, 2) exited non-zero on 'Local/7467981792@default-0000005e;2'
[Oct 22 12:00:00] -- Executing [h@default:1] AGI in new stack
[Oct 22 12:00:00] -- <Local/7467907303@default-0000005d;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION---------- completed, returning 0
[Oct 22 12:00:00] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:01] -- &lt;Local/7467981792@default-0000005e;2&gt;AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION---------- completed, returning 0
[Oct 22 12:00:01] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:02] Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:02] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:02] Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:03] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:07] Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:07] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:46] == Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:46] -- Executing [7467774174@default:1] AGI in new stack
[Oct 22 12:00:46] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=FRANCE))
[Oct 22 12:00:46] -- <Local/7467774174@default-0000005f;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 22 12:00:46] -- Executing [7467774174@default:2] Dial("Local/7467774174@default-0000005f;2", "SIP/33774174@SIPNEWS,,tTo") in new stack
[Oct 22 12:00:46] Using SIP RTP CoS mark 5
[Oct 22 12:00:46] -- Called SIP/33774174@SIPNEWS
[Oct 22 12:00:46] WARNING[26807]: channel.c:5902 ast_channel_make_compatible_helper: No path to translate from SIP/SIPNEWS-00000058 to Local/7467774174@default-0000005f;2
[Oct 22 12:00:46] Spawn extension (default, 7467774174, 2) exited non-zero on 'Local/7467774174@default-0000005f;2'
[Oct 22 12:00:46] -- Executing [h@default:1] AGI in new stack
[Oct 22 12:00:47] -- <Local/7467774174@default-0000005f;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION---------- completed, returning 0
[Oct 22 12:00:47] Manager 'sendcron' logged off from 127.0.0.1
[Oct 22 12:00:48] Manager 'sendcron' logged on from 127.0.0.1
[Oct 22 12:00:48] -- Executing [7467988880@default:1] AGI in new stack
[Oct 22 12:00:48] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=FRANCE))
[Oct 22 12:00:48] -- <Local/7467988880@default-00000060;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 22 12:00:48] -- Executing [7467988880@default:2] Dial("Local/7467988880@default-00000060;2", "SIP/33988880@SIPNEWS,,tTo") in new stack
[Oct 22 12:00:48] Using SIP RTP CoS mark 5
[Oct 22 12:00:48] -- Called SIP/33988880@SIPNEWS
[Oct 22 12:00:48] WARNING[26828]: channel.c:5902 ast_channel_make_compatible_helper: No path to translate from SIP/SIPNEWS-00000059 to Local/7467988880@default-00000060;2
[Oct 22 12:00:48] Spawn extension (default, 7467988880, 2) exited non-zero on 'Local/7467988880@default-00000060;2'
[Oct 22 12:00:48] -- Executing [h@default:1] AGI in new stack
[Oct 22 12:00:49] -- <Local/7467988880@default-00000060;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION---------- completed, returning 0
[Oct 22 12:00:49] == Manager 'sendcron' logged off from 127.0.0.1

SIP Details
[SIPNEWS]
disallow=all
allow=g729
allow=ulaw
type=friend
username=xxxxxxxx
secret=yyyyyyyyy
auth= xxxxxxx:yyyyyyy@zzzzzzzzzz
jitterbuffer=no
trunk=yes
host=zzzzzzzzzzzz

Dial Plan ENTRY
exten => _7.,1,AGI
exten => _7.,2,Dial(SIP/33${EXTEN:4}@SIPNEWS,,tTo)
exten => _7.,3,Hangup


Replies (2)

RE: not connecting. - Added by paul hughes over 8 years ago

Hi Ravaka

from what i could see when your dialing like in example

Executing [7467988880@default:2] Dial("Local/7467988880@default-00000060;2", "SIP/33988880@SIPNEWS,,tTo") in new stack
[Oct 22 12:00:48] Using SIP RTP CoS mark 5
[Oct 22 12:00:48] -- Called SIP/33988880@SIPNEWS

you can see the dial plan is dialing 7 then the number you are dialing Executing [7467988880@default:2] Dial(

but then the dialplan you have set up is stripping 4 digits and then adding the 33 as in you dialplan. IE> Called SIP/33988880@SIPNEWS

This is your dial plan
Dial Plan ENTRY
exten => _7.,1,AGI
exten => _7.,2,Dial(SIP/33${EXTEN:4}@SIPNEWS,,tTo)
exten => _7.,3,Hangup

But it should be like
exten => _7.,1,AGI
exten => _7.,2,Dial(SIP/33${EXTEN:1}@SIPNEWS,,tTo)
exten => _7.,3,Hangup

also if you are using the register field to register your sip account then just use
username=xxxxxxx

rather than auth= xxxxxxx:yyyyyyy@zzzzzzzzzz

howver this may be carrier sspecific.

Regards

RE: not connecting. - Added by striker 247 over 8 years ago

also make sure you have installed g729 codec

as the below error from your log shows that , transcoding issue
"No path to translate from...."

br
striker
www.striker24x7.blogspot.com

    (1-2/2)
    Go to top