Hi Jerry, In article <cabr8-b5z5k98qs3478zjicuuvoabegajokeen6smzwq8vwe...@mail.gmail.com>, Jerry Geis <ge...@pagestation.com> wrote: > > It seems I am not getting any digits coming over a SIP trunk. > > How can I match "anything" or "nothing" and start my extension. > > Usually I have something like: > exten => 55,1,Goto(xxxx,yyy,1) > > but if 55 does not come across and it appears to be no digits > coming across how do I match that that and just start. > > I thought about _X but that says digits. I dont think I am getting any > digits > I just want *anything* coming across to start the call. > > Basically ANY call coming across the trunk just do the same as 55 above.
It sounds like you are thinking of your SIP trunk as if it is a telephone line, when you first pick up the line, and then send digits over it. SIP doesn't work like that. A SIP call is started by an INVITE message that says who the caller is, and what address they want to call. Normally, the address would be something like sip:12...@some.realm.com, where the 12345 would be the digits of the number that would be matched against your dialplan. It doesn't have to be, though, and you could have a call to sip:je...@some.realm.com, which would match the following: exten => jerry,1,Goto(and so on) It is possible, but often not helpful, to have a call that doesn't specify a number, with an address such as sip:some.realm.com, and that should match the "s" extension: exten => s,1,NoOp(Didn't get a number) Maybe that's what is happening in your case, so try adding an "s" extension. Hope this helps, Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users