Hi at all !
I've a problem and I don't know how to solve it.
My configuration is the following:

ISDN LINE ---> PATTON (SIP) ---> ASTERISK

in asterisk my sip.conf for sip patton account is the following:

[general]
port=5060
bindaddr=0.0.0.0
context=default
language=it
limitonpeers=yes
notifyringing=yes

[acc1]
context=fromPSTN_Ext1
type=friend
qualifiy=yes
host=dynamic
username=acc1
secret=1234
qualify=yes

Now I want to receive a call on acc1 and then redirect it again on acc1
through PSTN, in the following way:

[fromPSTN_Ext1]
exten => _X.,1,Noop(start call and redirect call through PSTN)
exten => _X.,n,Background(${SoundsPath}/message)
exten => _X.,n,WaitExten(2)
exten => i,n,Monitor(wav,${MONITORFILENAME},m)
exten => i,n,Dial(SIP/numbertoc...@acc1,10,r)

ISDN LINE ---> PATTON (SIP acc1) ---> ASTERISK ---> PATTON (SIP acc1) --->
ISDN line

But if the external caller hang up the call ... the call to NUMBERTOCALL on
acc1 continue to ring until the called answer, but the call is out.

Someone can help me ?!?!?


Thanks to all


Marco
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to