Author Topic: Voip problem 10.04  (Read 617 times)

pw44

  • Addicted
  • *
  • Posts: 653
    • View Profile
Voip problem 10.04
« on: September 15, 2012, 11:08:11 pm »
Hya,
lmce 10.04 installed, SIP line configured, asterisk shows it's registered
Code: [Select]
dcerouter*CLI> sip show registry
Host                                    dnsmgr Username       Refresh State                Reg.Time                
sip.voipcheap.com:5060                  N      pwollny            105 Registered           Sat, 15 Sep 2012 18:01:16
1 SIP registrations.
I call to the number from my mobile, no of the phones (obiter and cisco 7970) rings, i hear the message "the number...(ss-noservice.gsm)   and asterisk shows the following:
Code: [Select]
== config parameter meetmeopts '' != 'qxd'
    -- Added device 'SEP00137FFD944B' (7970)
    -- SEP00137FFD944B: asked our protocol capability (20).
    -- SEP00137FFD944B: Phone protocol capability : 12
    -- SEP00137FFD944B: Our protocol capability  : 20
    -- SEP00137FFD944B: Joint protocol capability : 11
    -- SEP00137FFD944B: Ask the phone to send keepalive message every 48 seconds
    -- SEP00137FFD944B: d->softkeyDefinition=!
    -- SEP00137FFD944B: Sending ConfigStatMessage, lines 1, speeddials 0
    -- SEP00137FFD944B: Device has 8 Capabilities
    -- Added extension '201' priority 1 to sccpregistration
    -- SEP00137FFD944B: Got Forward Status Request.  Line: 1
    -- SEP00137FFD944B: Device registered; performing post registration tasks...
 00000000 - 03 00 00 00 01 00 00 00 00 00 00 00             ............
    -- SCCP: Accepted connection from 192.168.80.131
    -- SCCP: Accepted connection from 192.168.80.131
    -- SCCP: Using ip 192.168.80.1
    -- SCCP: Using 245760 memory for this thread
  == Using SIP RTP CoS mark 5
    -- Executing [2062036594@from-sip-external:1] NoOp("SIP/sip.voipcheap.com-00000000", "Received incoming SIP connection from unknown peer to 2062036594") in new stack                                                                              
    -- Executing [2062036594@from-sip-external:2] Set("SIP/sip.voipcheap.com-00000000", "DID=2062036594") in new stack
    -- Executing [2062036594@from-sip-external:3] Goto("SIP/sip.voipcheap.com-00000000", "s,1") in new stack
    -- Goto (from-sip-external,s,1)
    -- Executing [s@from-sip-external:1] GotoIf("SIP/sip.voipcheap.com-00000000", "0?from-trunk,2062036594,1") in new stack
    -- Executing [s@from-sip-external:2] Set("SIP/sip.voipcheap.com-00000000", "TIMEOUT(absolute)=15") in new stack
Channel will hangup at 2012-09-15 18:01:08.718 BRT.
    -- Executing [s@from-sip-external:3] Answer("SIP/sip.voipcheap.com-00000000", "") in new stack
    -- Executing [s@from-sip-external:4] Wait("SIP/sip.voipcheap.com-00000000", "2") in new stack
    -- Executing [s@from-sip-external:5] Playback("SIP/sip.voipcheap.com-00000000", "ss-noservice") in new stack
    -- <SIP/sip.voipcheap.com-00000000> Playing 'ss-noservice.gsm' (language 'en')
    -- Executing [s@from-sip-external:6] PlayTones("SIP/sip.voipcheap.com-00000000", "congestion") in new stack
    -- Executing [s@from-sip-external:7] Congestion("SIP/sip.voipcheap.com-00000000", "5") in new stack
  == Spawn extension (from-sip-external, s, 7) exited non-zero on 'SIP/sip.voipcheap.com-00000000'
    -- Executing [h@from-sip-external:1] NoOp("SIP/sip.voipcheap.com-00000000", "Hangup") in new stack
When i try to place a call, it tries to call my DID number:
Code: [Select]
Verbosity was 3 and is now 4
    -- SEP00137FFD944B: Taken Offhook
    -- SEP00137FFD944B: Using line 201
    -- SCCP: SCCP/201-00000006,
capabilities: (slin16, ulaw/64k, alaw/64k, g729b, g729ab, g729, g729a, rfc2833)
preferences: (alaw/64k, alaw/56k, ulaw/64k, ulaw/56k)
remote caps: (nothing)
READ: (alaw/64k)
    -- SCCP: SCCP/201-00000006,
capabilities: (slin16, ulaw/64k, alaw/64k, g729b, g729ab, g729, g729a, rfc2833)
preferences: (alaw/64k, alaw/56k, ulaw/64k, ulaw/56k)
remote caps: (nothing)
        WRITE: (alaw/64k)
    -- SEP00137FFD944B: SCCP Digit: 00000009 (9) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : 0
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 9 Matches more
    -- SEP00137FFD944B: SCCP Digit: 00000000 (0) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 90 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000000 (0) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 900 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000005 (5) on line 201
 SCCP: ENBLOC EMU Cancelled (time per digit '579' > maximum '400')
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 9005 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000005 (5) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 90055 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000002 (2) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 900552 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000001 (1) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 9005521 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000008 (8) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 90055218 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000008 (8) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 900552188 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000008 (8) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 9005521888 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000003 (3) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 90055218883 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000008 (8) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 900552188838 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000006 (6) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 9005521888386 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000001 (1) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 90055218883861 Match More
    -- SEP00137FFD944B: SCCP Digit: 00000008 (8) on line 201
 SCCP: reschedule dialing in '5000' ms
 SCCP: extension helper says that:
ignore pattern  : 0
exten_exists    : -1
exten_canmatch  : -1
exten_matchmore : -1
 SCCP: 900552188838618 Match More
 SCCP: Timeout for call '6'. Going to dial '900552188838618'
    -- SCCP: Unable to cancel schedule ID 65.
    -- SEP00137FFD944B: (sccp_pbx_softswitch) New call on line 201
    -- SEP00137FFD944B: send callInfo of callid 6
    -- Executing [900552188838618@from-internal:1] Macro("SCCP/201-00000006", "dialout-trunk,SIP/2062036594,00552188838618,,")
    -- Executing [s@macro-dialout-trunk:1] Set("SCCP/201-00000006", "DIAL_TRUNK=SIP/2062036594") in new stack
    -- Executing [s@macro-dialout-trunk:2] Set("SCCP/201-00000006", "DIAL_NUMBER=00552188838618") in new stack
    -- Executing [s@macro-dialout-trunk:3] Set("SCCP/201-00000006", "ROUTE_PASSWD=") in new stack
    -- Executing [s@macro-dialout-trunk:4] GotoIf("SCCP/201-00000006", "1?noauth") in new stack
    -- Goto (macro-dialout-trunk,s,6)
    -- Executing [s@macro-dialout-trunk:6] GotoIf("SCCP/201-00000006", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:7] Set("SCCP/201-00000006", "_NODEST=") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("SCCP/201-00000006", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("SCCP/201-00000006", "GROUP()=DIAL_TRUNK") in new stack
    -- Executing [s@macro-dialout-trunk:10] Macro("SCCP/201-00000006", "user-callerid,SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SCCP/201-00000006", "user-callerid: pl_57 201") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SCCP/201-00000006", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SCCP/201-00000006", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SCCP/201-00000006", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SCCP/201-00000006", "REALCALLERIDNUM=201") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("SCCP/201-00000006", "REALCALLERIDNUM is 201") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SCCP/201-00000006", "AMPUSER=201") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SCCP/201-00000006", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SCCP/201-00000006", "1?report") in new stack
    -- Goto (macro-user-callerid,s,13)
    -- Executing [s@macro-user-callerid:13] NoOp("SCCP/201-00000006", "TTL:  ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SCCP/201-00000006", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SCCP/201-00000006", "Using CallerID "pl_57" <201>") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SCCP/201-00000006", "record-enable,201,OUT") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SCCP/201-00000006", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SCCP/201-00000006", "recordingcheck,20120915-181545,1347743727.8") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/recordingcheck
 recordingcheck,20120915-181545,1347743727.8: No AMPUSER db entry for 201. Not recording
    -- <SCCP/201-00000006>AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SCCP/201-00000006", "No recording needed") in new stack
    -- Executing [s@macro-dialout-trunk:12] GotoIf("SCCP/201-00000006", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SCCP/201-00000006", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:14] Macro("SCCP/201-00000006", "outbound-callerid,SIP/2062036594") in new stack
    -- Executing [s@macro-outbound-callerid:1] GotoIf("SCCP/201-00000006", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing [s@macro-outbound-callerid:3] NoOp("SCCP/201-00000006", "REALCALLERIDNUM is 201") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SCCP/201-00000006", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,9)
    -- Executing [s@macro-outbound-callerid:9] Set("SCCP/201-00000006", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:10] Set("SCCP/201-00000006", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("SCCP/201-00000006", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:12] GotoIf("SCCP/201-00000006", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,16)
    -- Executing [s@macro-outbound-callerid:16] GotoIf("SCCP/201-00000006", "1?usercid") in new stack
    -- Goto (macro-outbound-callerid,s,18)
    -- Executing [s@macro-outbound-callerid:18] GotoIf("SCCP/201-00000006", "1?report") in new stack
    -- Goto (macro-outbound-callerid,s,22)
    -- Executing [s@macro-outbound-callerid:22] NoOp("SCCP/201-00000006", "CallerID set to "pl_57" <201>") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("SCCP/201-00000006", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,17)
    -- Executing [s@macro-dialout-trunk:17] Set("SCCP/201-00000006", "OUTNUM=00552188838618") in new stack
    -- Executing [s@macro-dialout-trunk:18] Set("SCCP/201-00000006", "custom=SIP/2062036594") in new stack
    -- Executing [s@macro-dialout-trunk:19] GotoIf("SCCP/201-00000006", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,22)
    -- Executing [s@macro-dialout-trunk:22] GotoIf("SCCP/201-00000006", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("SCCP/201-00000006", "SIP/2062036594/00552188838618,300,") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/2062036594/00552188838618
    -- SEP00137FFD944B: send callInfo of callid 6
    -- SEP00137FFD944B: send callInfo of callid 6
    -- SIP/2062036594-00000003 is making progress passing it to SCCP/201-00000006
    -- SEP00137FFD944B: send callInfo of callid 6
    -- SIP/2062036594-00000003 answered SCCP/201-00000006
    -- SEP00137FFD944B is Onhook
  == SEP00137FFD944B: Ending call 6 on line 201 (Progress)
    -- hangup SCCP/201-00000006: hasPbx yes; ast state: Dialing, sccp state: Progress, blocking: yes, already being hungup: no, hangupcause: 16
    -- SCCP/201-00000006: send ast_queue_hangup
    -- SCCP/201-00000006: send ast_queue_hangup
    -- Executing [h@macro-dialout-trunk:1] Macro("SCCP/201-00000006", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SCCP/201-00000006", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SCCP/201-00000006", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SCCP/201-00000006", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SCCP/201-00000006", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SCCP/201-00000006", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SCCP/201-00000006", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SCCP/201-00000006' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SCCP/201-00000006'
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SCCP/201-00000006' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 900552188838618, 1) exited non-zero on 'SCCP/201-00000006'
    -- SEP00137FFD944B: Received Feature Change Event: monitor(6)
    -- SEP00137FFD944B: StorageBackend got Feature Change Event: monitor(6)
    -- SEP00137FFD944B: send callInfo of callid 6
As i understand, voipcheap is registered, my DID id working (routing to my voipcheap account), but no incoming.
Outgoing is also wrong.
I'm not being able to find out what is wrong. Is there someome more experienced than me that could help?
Under 8.10, it worked like a charm, now, is working with no charm at all :(
TIA,
Paulo
« Last Edit: September 15, 2012, 11:19:25 pm by pw44 »