VCI Help Desk wrote:
[snip, snip]

I have the following which works ok but I can't make outbound calls when
this is enabled.


Use different contexts. Put your inbound SIP sessions from SER to one context and all your internal SIP phones to another. An example modified from your conf:
sip.conf
[general]
...
context=from_sip


;Internal phones
[8001]
context=int_sip
...


extensions.conf [from_sip] ;send caller to voicemail if call is being forwarded from SER exten => _.,1,MailboxExists([EMAIL PROTECTED]) exten => _.,2,Hangup() ; hangup exten => _.,102,Voicemail(u${EXTEN}) ; answer and state unavailable, leave a message exten => _.,103,Hangup() ; hangup

[int_sip]
;PSTN access
exten => _9XX.,1,Dial(SIP/[EMAIL PROTECTED])
exten => _9XX.,2,Hangup



_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to