[Asterisk-Users] CVS-HEAD: Sip not paying attention to context

Matthew Boehm mboehm at cytelcom.com
Thu Apr 21 14:16:30 MST 2005


How can I debug this:

CLI>sip show peer 3047
 * Name       : 3047
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : cytel-fax
<snip>


CLI>asterisk*CLI> show channels
      Channel  (Context          Extension    Pri )   State  Appl.   Data
SIP/3047-4a2e  (global-outgoing  2819870065   1   )      Up  Dial
ZAP/R1d/2819870065|60


Umm...what?!? How can sip show peer tell me one context, but when the ata
actually makes a call, it goes out a different context?

[cytel-fax]
 exten => _[278]xxxxxxxxx,1,Dial(SIP/10999${EXTEN}@64.xx.xx.xx,30)
 exten => _1.,1,Dial(SIP/10999${EXTEN}@64.xx.xx.xx,30)

 exten => i,1,Playback(pbx-invalid)
 exten => i,2,Hangup()

 exten => t,1,Playback(pbx-invalid)
 exten => t,2,Hangup()

[global-outgoing]
 exten => _[287]XXXXXXXXX,1,Dial(ZAP/R1d/${EXTEN},60)
 exten => _[287]XXXXXXXXX,102,GotoIf($[${DIALSTATUS} = BUSY]?b,1:${EXTEN},2)
 exten => _[287]XXXXXXXXX,2,Dial(SIP/1${EXTEN}@cisco7206,60)
 exten => _[287]XXXXXXXXX,103,GotoIf($[${DIALSTATUS} = BUSY]?b,1)
 exten => _[287]XXXXXXXXX,3,Hangup()

I'm confused.

-- 
------------------------------------------------------------------------
Matthew Boehm, IT Director                    Cypress Telecommunications
mboehm at cytelcom.com                   3838 N. Sam Houston Parkway E #400
T: 832-200-8640 x3044                                  Houston, TX 77032

My girlfriend was recently diagnosed with multiple personality disorder;
 When she called yesterday, my CallerID box exploded.
------------------------------------------------------------------------




More information about the asterisk-users mailing list