chakrit / gossip

A SIP client library that wraps PJSIP into a nice and clean ObjC-style OO api.
http://chakrit.github.com/gossip
The Unlicense
167 stars 74 forks source link

DTMF digits ? #8

Closed muzammil-hussain closed 10 years ago

muzammil-hussain commented 10 years ago

How to send DTMF commands via gosip

chakrit commented 10 years ago

Hmmm :/ Is that supported by PJSIP ?

If you can lookup the right PJSIP call I might be able to add a nice API for it.

muzammil-hussain commented 10 years ago

Yes PJSIp does support it. Followign is pjsip call pj_status_t pjsua_call_dial_dtmf (pjsua_call_id call_id, const pj_str_t *digits)

chakrit commented 10 years ago

@muzammil-hussain I have added a [GSCall sendDTMFDigits:(NSString *)] method. There are also some changes in the latest commit. Can you try and let me know if this works for you?

chakrit commented 10 years ago

Gonna close this for now, feel free to reopen if this does not work.