[Asterisk-Users] howto (Also SIP VIA header)

Jörg Bauer/Denic bauer at denic.de
Wed Apr 23 02:15:52 MST 2003


asterisk-users-admin at lists.digium.com wrote on 22.04.2003 20:54:21:

> Well can't help you with everything but at least i noticed your 
extension is
> incorrect
> 
> 
> ----- Original Message -----
> From: "Jörg Bauer/Denic" <bauer at denic.de>
> To: <asterisk-users at lists.digium.com>
> Sent: Tuesday, April 22, 2003 5:19 PM
> Subject: [Asterisk-Users] howto
> 
> 
> > my config:
> > exten => .,1,Dial(SIP/${EXTEN})       // whatever you get....try to
> > establish a SIP-session ......
> >
> > but this expands to Dial(SIP/test)    !!!  Domain is gone !!!!
> 
> This is because your extension is missing the _ which tells Asterisk to 
look
> for a numer pattern.

I don´t want to look for a number !!!
I want to look for the SIP-Username ( + SIP-Domain) !!!

comming in with a SIP-Connection wich tries to go to TEST at example.com i 
want
(after the pattern matching ....)

exten => TEST at example.com,1,Dial(SIP/TEST at example.com)

Unfortunatly i get:
exten => TEST at example.com,1,Dial(SIP/TEST)

But what/who is TEST ??? I need the Domain there.....
 




More information about the asterisk-users mailing list