[Asterisk-Users] Transparently Routing German pri through Asterisk

Eric Wieling aka ManxPower eric at fnords.org
Sat May 7 02:16:57 MST 2005


Jay Milk wrote:
> You got your groups mixed up.  Should be:
> 
> [default]
> exten => _.,1,Dial(ZAP/g2/${EXTEN})
> 
> [outgoing]
> exten => _.,1,Dial(ZAP/g1/${EXTEN})
> 
> Means that anything coming in to channel-group 1 (default context) will
> be sent out through group 2, and vice versa.

Watch the console and be amazed when _. matches extension "h", which is 
called when the far side of the call hangs up.  You get two calls to the 
same number by only dialing once!  Stop being lazy and at least use _X. 
as your pattern.



More information about the asterisk-users mailing list