[Asterisk-Users] Outgoing Ringback Indications IAX vs. SIP
Tim Panton
tim at mexuar.com
Mon Apr 17 01:13:30 MST 2006
On 17 Apr 2006, at 00:30, Steve Feinstein wrote:
> Actually it makes no difference. I tried it in an attempt to get
> something to happen.
>
> Thanks,
> -Steve
>
> Eric "ManxPower" Wieling wrote:
>> What happens if you remove the "r" option? "r" is almost NEVER
>> useful.
>>
>> Steve Feinstein wrote:
>>> I've been pulling my hair out over this one trying to understand it.
>>>
>>> If you have a very simple extension:
>>>
>>> exten => 1,n,Dial(IAX2/Steve|24|r)
>>>
>>> Everything I've seen says this should tell the IAX phone (our own
>>> iaxclient based one) to make a ringing sound, or asterisk should
>>> make the ringback indication itself if it determines that the
>>> channel can't do it for itself.
>>>
>>> But you can dial this extension all day and you never hear a
>>> ringback indication. Dial it from a SIP softphone and you do.
>>> If you change the default country in the indications.conf, the
>>> SIP phone will change the way the ring sounds. IAX, still nothing.
>>>
>>> You can use PlayTones(ring) in the dialplan before the Dial(),
>>> and it seems to behave ok. Playing the appropriate ring
>>> indication until the call is answered. But it seems like the
>>> behavior is inconsistent with IAX vs. SIP. Is this by design?
>>>
>>> All the IAX soft phones I've tried are based on the same
>>> iaxclient libs, so it's hard to know if it's the phone or
>>> asterisk that's not behaving right. Has anyone used an iax hard
>>> phone, some other IAX device/software, and does it exhibit the
>>> same behavior? Or is this a problem with the iax code not being
>>> telling asterisk that IAX phones need to have their indications
>>> faked.
>>>
>>> Any ideas about what's going on would be most gratefully
>>> appreciated.
>>>
>>>
I don't know the IAXclient libs, but an IAX client is supposed to
send a RINGING packet back after it
accepts a call to notify the other end it should generate ringback
for the user. The protocol allows it to go
straight to ANSWER, or send a PROCEEDING if it hasn't reached the end-
point yet.
Is your client sending a RINGING packet at the right moment ?
Is there a call you should make (after accept but before answer) to
get it to send RINGING?
Tim Panton
tim at mexuar.com
More information about the asterisk-users
mailing list