how to use qualify times to route calls

Report
Question

I'm using 1.8.3, and have 2 sip providers. Both are set with
qualify=yes. Each of them sometimes have qualify times 10+ times the
other. For instance, one will be at 10-15ms, the other at 200ms. Is there a way I can route an outgoing call to the provider with the
lower qualify time? sean

Asterisk Users 4.4 years ago 1 Answer

asterisk behind nat

Report
Question

On 3/2/2011 9:46 AM, Leif Neland wrote:
> Some of the phones are being disconnected with Asterisk saying "no reply
> to critical packet" What kind of phones are they? I might have nothing to do with your
network configuration; try adding to sip.conf [general]: session-timers=refuse

Asterisk Users 4.4 years ago 1 Answer

Doubt about cdr on asterisk

Report
Question

I have the following situation.... I'm using Action Originate to originate a call for a costumer. Originate goes to a context that call the dial application. Before the application (Dial using the G option) to be invoked i'm setting the variable cellphone like this: [firstcontext]
exten => s,1,Set(CDR(cellphone)=${CELLPHONE})
exten => s,n,Dial(IAX2/user:pass@otherasterisk/${CELLPHONE},30,G(secondcontext^s^1)) [secondcontext]
exten => s,1,Hangup()
exten => s,n,Playback(something)
exten => s,n,NoOp(CDR(cellphone)
exten => s,n,Hangup() When the costumer answer the call, caller party goes to secondcontex on extension 1 and the called party goes to secondcontex on extension 2. On firstcontext (before the Dial) i…

Asterisk Users 4.4 years ago 1 Answer